//
//  HHqsViewController.m
//  tantan
//
//  Created by SQHH on 2017/12/20.
//  Copyright © 2017年 SQHH. All rights reserved.
//

#import "HHqsViewController.h"

@interface HHqsViewController () <
UITableViewDataSource,
UITableViewDelegate,
UITextFieldDelegate,
UITextViewDelegate
>

@property (nonatomic, strong) UIImageView *CDSACADS;

@property (nonatomic, strong) UILabel *CASDV;

/// DS
@property (nonatomic, strong) UIButton *CSADC;

/// CXZC数据源
@property (nonatomic, strong) NSMutableArray *data;

/// CZXC
@property (nonatomic, strong) UITableView *CXZC;

/// ASDVAS
@property (nonatomic, strong) UITextField *CVASD;

/// CSDD
@property (nonatomic, strong) UITextView *CADSC;

@end

@implementation HHqsViewController

#pragma mark - # Delegate
//MARK: UITableViewDataSource
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
	return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
	return self.data.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
	return nil;
}

//MARK: UITableViewDelegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
	
}

#pragma mark - # Event Response
- (void)CSADCTouchUpInside:(UIButton *)sender {
	
}

#pragma mark - # Life Cycle
- (void)loadView {
	[super loadView];
	[self.view addSubview:self.CDSACADS];
	[self.view addSubview:self.CASDV];
	[self.view addSubview:self.CSADC];
	[self.CASDV addSubview:self.CXZC];
	[self.CASDV addSubview:self.CVASD];
	[self.CVASD addSubview:self.CADSC];
}

- (void)viewDidLoad {
	[super viewDidLoad];
}

#pragma mark - # Getter
- (UIImageView *)CDSACADS {
	if (!_CDSACADS) {
		_CDSACADS = [[UIImageView alloc] init];
	}
	return _CDSACADS;
}

- (UILabel *)CASDV {
	if (!_CASDV) {
		_CASDV = [[UILabel alloc] init];
	}
	return _CASDV;
}

- (UIButton *)CSADC {
	if (!_CSADC) {
		_CSADC = [[UIButton alloc] init];
		[_CSADC addTarget:self action:@selector(CSADCTouchUpInside:) forControlEvents:UIControlEventTouchUpInside];
	}
	return _CSADC;
}

- (NSMutableArray *)data {
	if (!_data) {
		_data = [[NSMutableArray alloc] init];
	}
	return _data;
}

- (UITableView *)CXZC {
	if (!_CXZC) {
		_CXZC = [[UITableView alloc] init];
		[_CXZC setDelegate:self];
		[_CXZC setDataSource:self];
	}
	return _CXZC;
}

- (UITextField *)CVASD {
	if (!_CVASD) {
		_CVASD = [[UITextField alloc] init];
		[_CVASD setDelegate:self];
	}
	return _CVASD;
}

- (UITextView *)CADSC {
	if (!_CADSC) {
		_CADSC = [[UITextView alloc] init];
		[_CADSC setDelegate:self];
		[_CADSC setTextColor:[UIColor blackColor]];
	}
	return _CADSC;
}

@end
